<!--健康筛查结果已进行线上问诊有异常的卡片-->

<script setup>
function endScreen() {}
</script>

<template>
  <div>
    <div class="result-main">
      <van-icon name="warning-o" id="icon" />
      <h4>
        您已进行线上问诊和TST检测，TST结果异常，请按医生指导就近到以下结核病定点医院进行X线胸片检查
      </h4>
    </div>
    <div class="option">
      <van-button size="large" round @click="endScreen">结束并返回首页</van-button>
    </div>
  </div>
</template>

<style scoped lang="scss">
@import '../../variables';

.result-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  & #icon {
    margin-top: 2rem;
    font-size: 5rem;
    color: $--font-warning;
  }

  & h4 {
    padding: 1rem;
    font-size: 1.1rem;
    color: $title-font-color;

    & a {
      color: #3431cc;
      text-decoration: underline;
    }
  }
}

.result-button {
  width: 100%;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;

  & button {
    width: 80%;
    height: 3rem;
    border: #0fcfae 2px solid;
    color: black;
    font-size: 15px;
    background-color: $bg-result;
  }
}

.option {
  position: absolute;
  margin-top: 30px;
  margin-left: 12%;
  background-color: $--bg-common;
  width: 60%;

  & button {
    color: $--bg-common;
  }
}
</style>
